package com.s3.khospitalds.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.s3.khospitalds.entity.Turnover;
import com.s3.khospitalds.mapper.TurnoverMapper;
import com.s3.khospitalds.service.TurnoverService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: xw
 * @CreateTime: 2025/2/20
 * @Description: 护士离职类
 * @Version: 1.0
 */
@Service
public class TurnoverServiceImpl extends ServiceImpl<TurnoverMapper, Turnover> implements TurnoverService {
    @Autowired
    TurnoverMapper turnoverMapper;
    public List<Turnover> selectAll(){
        return turnoverMapper.selectAll();
    };
    public int insert(Turnover turnover){
        return turnoverMapper.insert(turnover);
    };
}
